<template>
  <el-backtop class="hidden-xs-only hidden-sm-only hidden-md-only">
    <el-image class="backtop" :style="'--backtop-size: ' + props.size + 'px'" :src="Backtop"></el-image>
  </el-backtop>
</template>

<script setup lang="ts">
import Backtop from "@/assets/image/upTop.svg";
const props = defineProps({
  size: {
    type: Number,
    default: 26
  }
});
</script>

<style scoped lang="scss">
.backtop {
  width: var(--backtop-size);
  height: var(--backtop-size);
}
</style>